package com.deryun.tyl.bean.mapper;

import java.util.List;

import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import com.deryun.tyl.bean.GroupMessage;

public interface GroupMessageMapper
{
	@Select({
		"select * from group_message"
	})
	
	@ResultMap("BaseResultMap")
	List<GroupMessage> getAllContact();
	
	@Update({
		"UPDATE group_message SET group_name = #{0,jdbcType=VARCHAR},group_http = #{1,jdbcType=VARCHAR} WHERE id = #{2,jdbcType=VARCHAR}"
	})
	int modifyFC(String title, String address, String position);
	
}
